package dsk.demo.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import dsk.demo.common.utils.PageUtils;
import dsk.demo.product.entity.CatalogEntity;
import dsk.demo.product.vo.CatalogTreeVo;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author daishikun
 * @email 940798525@qq.com
 * @date 2022-09-17 09:09:41
 */
public interface CatalogService extends IService<CatalogEntity> {

    PageUtils queryPage(Map<String, Object> params);

    CatalogTreeVo queryCatalogTree();

    /**
     * 查询全部子节点, name 不可传值
     * @param name
     * @return
     */
    List<CatalogEntity> selectAllChildNode(String name);

}

